package com.wk.springframework.bean;

public class UserService {

    private String name;

    private String age;

    public UserService(String name, String age) {
        this.name = name;
        this.age = age;
    }

    public String getAge() {
        return age;
    }

    public void setAge(String age) {
        this.age = age;
    }


    public void selfIntroduction() {
        System.out.println("my name is " + name + "age：" + age);
    }

    public UserService(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
